﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ParameterTypeAddOrEdit.aspx.cs"
    Inherits="BySoft.Web.Site.SysManage.ParameterTypeAddOrEdit" MasterPageFile="~/MastePage/SubEmptyMaster.Master" %>

<asp:Content ContentPlaceHolderID="EmptyMasteCPH" runat="server" ID="cphContent">
    <div id="divheadtxt" runat="server">
    </div>
    <br />
    <div class="tableStyle2">
        <table cellpadding="0" cellspacing="0">
            <tr>
                <th width="20%">
                    <span class="red">*</span>类别编号：
                </th>
                <td width="30%">
                    <span runat="server" id="spanEditID">
                        <asp:TextBox ID="txtID" runat="server"  CssClass="text ui-widget-content ui-corner-all" MaxLength="20"> </asp:TextBox>
                        <asp:RequiredFieldValidator ID="rfvID" runat="server" ErrorMessage="请输入类别编号！" Display="None"
                            ControlToValidate="txtID"></asp:RequiredFieldValidator></span>
                    <asp:Label runat="server" ID="lblID" Visible="false"></asp:Label>
                </td>
                <th width="20%">
                    <span class="red">*</span>类别名称：
                </th>
                <td width="30%">
                    <asp:TextBox ID="txtName" runat="server" CssClass="text ui-widget-content ui-corner-all" MaxLength="20"> </asp:TextBox>
                    <asp:RequiredFieldValidator ID="valrTypeName" runat="server" ErrorMessage="请输入类别名称！"
                        Display="None" ControlToValidate="txtName"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <th width="20%">
                    是否固化：
                </th>
                <td width="30%">
                    <asp:CheckBox ID="cbIsSolid" runat="server" />
                </td>
                <th width="20%">
                    类别描述：
                </th>
                <td width="30%">
                    <asp:TextBox ID="txtRemark" runat="server" TextMode="MultiLine" Rows="4" Columns="50"
                        CssClass="text ui-widget-content ui-corner-all"></asp:TextBox>
                    <asp:RegularExpressionValidator ID="valrDescription" runat="server" ErrorMessage="描述不能大于200个字符！"
                        ValidationExpression="^[\w\W]{0,200}$" ControlToValidate="txtRemark" Display="None">*</asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr runat="server" id="trCreate" visible="false">
                <th width="20%">
                    创建者：
                </th>
                <td width="30%">
                    <asp:Label runat="server" ID="lblCreator"></asp:Label>
                </td>
                <th width="20%">
                    创建时间：
                </th>
                <td width="30%">
                    <asp:Label runat="server" ID="lblCreateTime"></asp:Label>
                </td>
            </tr>
            <tr runat="server" id="trModify" visible="false">
                <th width="20%">
                    最后修改者：
                </th>
                <td width="30%">
                    <asp:Label runat="server" ID="lblModifyUser"></asp:Label>
                </td>
                <th width="20%">
                    最后修改时间：
                </th>
                <td width="30%">
                    <asp:Label runat="server" ID="lblModifyTime"></asp:Label>
                </td>
            </tr>
        </table>
    </div>
    <div class="controlBar" align="center">
        <table cellpadding="0" cellspacing="0" style="width: 140px; margin: 0 auto;">
            <tr>
                <td>
                    <label class="btnStylec png_bg">
                        <input type="button" id="btnSubmit" value="确定" onserverclick="btnOk_Click" runat="server"
                            style="width: 60px;" />
                    </label>
                    <label class="btnStyleb png_bg">
                        <input type="button" id="btnCancel" value="返回" onclick="window.location='/SysManage/ParameterTypeList.aspx?'"
                            style="width: 60px;" />
                    </label>
                </td>
            </tr>
        </table>
    </div>
</asp:Content>
